package cn.sfrog.project.biz.web.vo.room;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author chenl
 * @Date 2024-05-28 16:29
 * @title AppLiveRoomJoinFormVO
 * @description
 **/
@Data
@ApiModel(description = "用户进出房间表单VO")
public class AppLiveRoomJoinFormVO {

    @ApiModelProperty("房间id")
    @NotBlank(message = "房间id不能为空")
    private String roomId;

    @ApiModelProperty("类型 1进入房间 2退出房间")
    @NotNull(message = "类型不能为空")
    private Integer type;
}
